package pack0603;

import java.util.Scanner;
//switch 判断 点判断

public class DemoC {
    public static void main(String[] args) {
        Scanner sun=new Scanner(System.in);
        System.out.println("输入考生成绩: ");
        int a=sun.nextInt();
        switch (a/10){
            case 10:
                System.out.println("s级");
                break; //跳出
            case 9:
                System.out.println("a级");
                break;
            case 8:
                System.out.println("b级");
                break;
            case 7:
                System.out.println("c级");
                break;
            case 6:
                System.out.println("d级");
                break;
            default: //默认值
                System.out.println("e级");
                break;
        }


    }
}
